package com.luoyi.util.ovs.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.luoyi.util.ovs.annotation.DataIn;
import com.luoyi.util.ovs.annotation.DataOut;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;


/**
 * 
 * 功能说明：指标维度 值对象类
 * @author  
 */
@Data
@SuppressWarnings("serial")
@ApiModel(value="指标维度", description="指标维度")
@JsonIgnoreProperties(ignoreUnknown = true)
public class IndexDimensionVo implements Serializable {
	
    @ApiModelProperty(name="id", value="主键id")
    private String id;
	@DataOut(columnName = "code")
    @ApiModelProperty(name="code", value="编码")
    private String code;
	@DataIn(columnName = "code",sn = 1)
	@DataOut(columnName = "name")
    @ApiModelProperty(name="name", value="名称")
    private String name;
	@DataIn(columnName = "type", sn = 2,dataCode = "rim_index_dimension_type")
	@DataOut(columnName = "type",dataCode = "rim_index_dimension_type")
    @ApiModelProperty(name="type", value="类型")
    private String type;

	@DataIn(columnName = "dataValue", sn = 3)
	@DataOut(columnName = "dataValue")
    @ApiModelProperty(name="dataValue", value="数据值")
    private String dataValue;

	@DataIn(columnName = "fieldCode", sn = 4)
	@DataOut(columnName = "fieldCode")
	@ApiModelProperty(name="fieldCode", value="数据字段")
	private String fieldCode;

	@DataOut(columnName = "status", dataCode = "YesOrNo")
    @ApiModelProperty(name="status", value="状态")
    private String status;

    @ApiModelProperty(name="sn", value="序号")
    private Integer sn;

    @ApiModelProperty(name="memo", value="说明")
    private String memo;

	@DataIn(columnName = "docType", sn = 5, dataCode = "rim_check_instance_doc_type")
	@DataOut(columnName = "docType", dataCode = "rim_check_instance_doc_type")
	@ApiModelProperty(name="docType", value="列表查询时，展示的业务单据类型")
	private String docType;

	@DataIn(columnName = "dimensionFieldCode", sn = 6)
	@DataOut(columnName = "dimensionFieldCode")
	@ApiModelProperty(name="dimensionFieldCode", value="列表查询时，展示的指标维度数据字段")
	private String dimensionFieldCode;
	@ApiModelProperty(name="indexDimensionFieldVo", value="新增或修改时（查单条详情时)，指标维度数据字段的数据")
	private List<Object> indexDimensionFieldVo;
	@DataOut(columnName = "used", dataCode = "used_status")
	@ApiModelProperty(name="used", value="是否已使用;值Y,N")
	private String used;

}